Ajutor va rog:)
#9

Quote:
Originally Posted by fordawinzz
Посмотреть сообщение
zcmd + sscanf = easy job.

pawn Код:
command(sellhouse, playerid, params[])
{
     new giveplayerid, price;
     if(!IsPlayerConnected(playerid)) return 0;
     if(sscanf(params, "ui", giveplayerid, price)) return SendClientMessage(playerid, ~1, "Usage: /sellhouse (playerid) (price)");
     if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, ~1, "That player is not online.");
     //codul tau
     return 1;
}
ce zici daca mai prescurtezi prima linie )

PHP код:
CMD:sellhouse(playeridparams[]) xD 
Reply


Messages In This Thread
Ajutor va rog:) - by All3xutzu - 01.01.2012, 17:00
Re: Ajutor va rog:) - by Stefan_Toretto - 01.01.2012, 17:16
Re: Ajutor va rog:) - by All3xutzu - 01.01.2012, 17:26
Re: Ajutor va rog:) - by gabitzu4ever - 01.01.2012, 20:31
Re: Ajutor va rog:) - by Stefan_Toretto - 01.01.2012, 22:05
Re: Ajutor va rog:) - by All3xutzu - 02.01.2012, 13:03
Re: Ajutor va rog:) - by All3xutzu - 02.01.2012, 13:05
Re: Ajutor va rog:) - by fordawinzz - 02.01.2012, 13:30
Re: Ajutor va rog:) - by gabitzu4ever - 02.01.2012, 18:58

Forum Jump:


Users browsing this thread: 1 Guest(s)