09.09.2017, 19:18
First go into your game, go to the place you want to set the "icon" to appear on, then type /save Job location.
After that close the game, go to your Documents, GTA San Andreas User Files, SAMP, savedpositions and it should look like this:
AddPlayerClass(46, -2092.3467, 285.9698, 35.3322, 249.5110 ,0, 0, 0, 0, 0, 0); // Job location
Then copy the second, third, and fourth parameter and then do this:
And that should be it.
After that close the game, go to your Documents, GTA San Andreas User Files, SAMP, savedpositions and it should look like this:
AddPlayerClass(46, -2092.3467, 285.9698, 35.3322, 249.5110 ,0, 0, 0, 0, 0, 0); // Job location
Then copy the second, third, and fourth parameter and then do this:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/findjob", cmdtext, true, 10) == 0) { SetPlayerCheckpoint(playerid, -2092.3467, 285.9698, 35.3322, 5); return 1; } return 0; } public OnPlayerEnterCheckpoint(playerid) { DisablePlayerCheckpoint(playerid); return 1; }