26.04.2012, 13:28
Start from here :
https://sampwiki.blast.hk/
Commands:
https://sampwiki.blast.hk/wiki/Creating_Commands
https://sampwiki.blast.hk/wiki/SetPlayerPos
Example:
A Tutorial :
http://forum.sa-mp.com/showthread.ph...light=teleport (By captainjohn)
https://sampwiki.blast.hk/
Commands:
https://sampwiki.blast.hk/wiki/Creating_Commands
https://sampwiki.blast.hk/wiki/SetPlayerPos
Example:
pawn Код:
if(!strcmp(cmdtext, "/teleport"))//cmd structure
{
SetPlayerPos(playerid,0.0,0.0,3.0);//setting player pos to X,Y,Z cords change it to your cords
SendClientMessage(playerid, 0xFFFFFFFF, "Hello Player!");//This will send message to player who will use this command , playeris id id of player , 0xFFFFFFFF is color and then message
return 1;
}
http://forum.sa-mp.com/showthread.ph...light=teleport (By captainjohn)