22.05.2012, 05:21
pawn Код:
if(strcmp(cmd,"/Carhelp",true)==0)
{
tmp=strtok(cmdtext,idx);
if(!strlen(tmp)) return SendClientMessage(playerid,0xFFFFFFFF,"Usage : /Carhelp [1-3]");
if(strcmp(tmp,"1",true))
{
SendClientMessage(playerid,0x0099FFFF,"-------- [Vehicle/Car System!] --------");
SendClientMessage(playerid,0x00FF00FF,"/Car - Information about a vehicle.");
SendClientMessage(playerid,0x00FF00FF,"/Cars - Information with Statistics about the server vehicles.");
SendClientMessage(playerid,0x00FF00FF,"/Buycar - To buy a vehicle.");
SendClientMessage(playerid,0x00FF00FF,"/Sellcar - To sell your own vehicle.");
SendClientMessage(playerid,0x00FF00FF,"/Callcar - To call your vehicle to your currect position.");
SendClientMessage(playerid,0x0099FFFF,"-------- [Carhelp Page 1] --------");
}
if(strcmp(tmp,"2",true))
{
SendClientMessage(playerid,0x0099FFFF,"-------- [Vehicle/Car System!] --------");
SendClientMessage(playerid,0x00FF00FF,"/Watch[Car/off] - To spectate your vehicle.");
SendClientMessage(playerid,0x00FF00FF,"/[Un]lock - To lock/unlock your vehicle.");
SendClientMessage(playerid,0x00FF00FF,"/Resetcar - To reset your vehicle to his parking lot.");
SendClientMessage(playerid,0x00FF00FF,"/Eject[All] - To eject a player from your vehicle.");
SendClientMessage(playerid,0x0099FFFF,"-------- [Carhelp Page 2] --------");
}
return 1;
}
return 0;
}
How can i fix that? I tried everything..