30.10.2009, 05:48
Hey im new to scripting so i need to know how i could put guns into this tele so when i teleport to the place i can have get the guns that i put in the script
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/duel") == 0)
{
new string[52];
new name[24];
GetPlayerName(playerid,name,24);
SetPlayerPos(playerid, 1394.4448, 2159.5742, 9.7578,89.3516);
format(string,sizeof(string),"%s has just typed /duel, type it to to duel him!",name);
SendClientMessageToAll(0xFFFFFFFF,string);
return 1;
}
return 0;
}

