Jáá 26 Odesláno: 1. Listopad, 2012 Share Odesláno: 1. Listopad, 2012 1. - Já sem to nazval podla seba volám to IsPlayerInZona nieje to pravdivé ale mne to pomáha , volá sa to IsPlayerInRangeOfPoint 2. - Parametre : Parameters: (playerid, Float:range, Float:x, Float:y, Float:z) Float:x súradnice Float:y súradnice Float:z súradnice 3. - Použitie : if(!strcmp("/mise",cmdtext)) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) { SendClientMessage(playerid,0xFFFFFFFF,"Príkaz po vyvolani funkcie /mise"); } return 1; } if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) if(IsPlayerInRangeOfPoint(playerid, 7.0, x , y , z)) 4. - Warp : GetPlayerPos(playerid, x, y, z); x, y, z súradnice if(!strcmp("/warp",cmdtext)) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) { GetPlayerPos(playerid, 2695.6880, -1704.6300, 11.8438); } return 1; } 5. - Osladenie label textom public OnGameModeInit() { Create3DTextLabel("Stlac ......:\n30.0, 40.0, 50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0); return 1; } tento label si môžete pridat na miesto kde je ta zona aby hrac spoznal ze kde to ma stlacit .. 1 Link to comment Share on other sites More sharing options...
Fr0st 23 Odesláno: 2. Listopad, 2012 Share Odesláno: 2. Listopad, 2012 2. - Parametre : Float:Range si kde nechal :d ? Inak .. Toto si ani TuT robiť nemusel každý pozná tieto funkcie .. A jak nie wiki.sa-mp .. Totálne zbytočné.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now