18.04.2009, 20:21
Ello, I am wondering if someone could give me a good example how to make teleports and a easy way!
My work, aint working.. So can anyone help? And if you are gonna help me, please. Show me how to make 2 cmds or more in same FS. Thank you.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/drift", true) == 0)
{
SetPlayerPos(playerid, 2026.7900, 1354.5444, 10.8203, 84.5707);
return 1;
}
return 0;
}
My work, aint working.. So can anyone help? And if you are gonna help me, please. Show me how to make 2 cmds or more in same FS. Thank you.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/drift", true) == 0)
{
SetPlayerPos(playerid, 2026.7900, 1354.5444, 10.8203, 84.5707);
return 1;
}
return 0;
}