26.04.2012, 13:12
Im new here and i want to learn scripting and with my name itself u can tell how i will be but i kbow how to make tp places and some can anyone teach me?
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;
}