03.06.2010, 17:12
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xAA3333AA,"Teles: /smaljump ,/bmx ,coming");
SendClientMessage(playerid,0xAA4434AA,"Proov");
SendClientMessage(playerid,0xAA4434AA,"Proov");
SendClientMessage(playerid,0xAA4434AA,"Proov");
//----------------------------------------------------------
if(strcmp("/Smalljump", cmdtext, true) == 0){
SetPlayerPos(playerid, -393.7296,-953.0716 ,91.5887);
}
return 1;
}
return 0;
}
whats wrong with my script my error is :C:\Users\Cpu\Desktop\Sa-mp Server\gamemodes\RP.pwn(155) : warning 217: loose indentation
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xAA3333AA,"Teles: /smaljump ,/bmx ,coming");
SendClientMessage(playerid,0xAA4434AA,"Proov");
SendClientMessage(playerid,0xAA4434AA,"Proov");
SendClientMessage(playerid,0xAA4434AA,"Proov");
//----------------------------------------------------------
if(strcmp("/Smalljump", cmdtext, true) == 0){
SetPlayerPos(playerid, -393.7296,-953.0716 ,91.5887);
}
return 1;
}
return 0;
}
whats wrong with my script my error is :C:\Users\Cpu\Desktop\Sa-mp Server\gamemodes\RP.pwn(155) : warning 217: loose indentation