01.11.2011, 16:15
Heey all,
Why this command dont work?
Thank admigo
Why this command dont work?
pawn Код:
if(!strcmp(cmdtext,"/selltest"))
{
if(GetPlayerVehicleID(playerid) == 520)
{
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_LIGHTBLUE,"You have sold a vehicle to the shipyard for $10000.");// for $%d
return 1;
}
if(GetPlayerVehicleID(playerid) == 521)
{
GivePlayerMoney(playerid,11000);
SendClientMessage(playerid,COLOR_LIGHTBLUE,"You have sold a vehicle to the shipyard for $11000.");// for $%d
return 1;
}
return 1;
}