script teleport what do i wrong
#1

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/desert") == 0)
{
SetPlayerPos(playerid, 405.114,2441.080,16.312);
return 1;
}
return 0;



else {
if(strcmp(cmdtext, "/myteleport") == 1)
SetPlayerPos(playerid, -1967.8365, 2956.9823, 12.9375);
return 1;
}

return 0;
}





it say one error but i dont know what
Reply


Messages In This Thread
script teleport what do i wrong - by dekrumel - 16.04.2011, 18:34
Re: script teleport what do i wrong - by CrazyBlob - 16.04.2011, 18:38
AW: script teleport what do i wrong - by dekrumel - 16.04.2011, 18:50
AW: script teleport what do i wrong - by dekrumel - 16.04.2011, 19:01

Forum Jump:


Users browsing this thread: 1 Guest(s)