15.08.2011, 20:00
help me pls i add /ls /lv /sf and not wroked pls help
if(!strcmp(cmdtext,"/ls",true))
{
SetPlayerPos(playerid,x,y,z);
SendClientMessage(playerid,0x00FF00FF,"You teleported to Los Santos");
return 1;
}
CMD:ls(playerid, params[]) // command is /ls
{
if(!IsPlayerAdmin(playerid)) // Is the player not an RCON admin?
return false; // Nope, they are not an RCON admin- return false- stop the command.
SetPlayerPos(playerid, POSX, POSY, POSZ); // Set the position. Replace POSX-POSZ with your coordinates.
SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to Los Santos."); // Send a message.
return 1; // Command finished processing
}
I need to also inform you that Humans CAN NOT read minds. If you want to have a chance of begin remembered as a NOT looser, click this link. |
I do not see any of his logics, thinking we could know what the problem is, He says he has a problem, not telling what exactly is not working, what he is not understanding nor giving any kind of code we can use to fix.
So he has provided us about almost nothing useful, and I am not sure if he is a scripter, or he is just requesting that kind of script. If he would add a bit more detail I would of not thought that would be needed to post. |