Jetpack Command
#10

Quote:
Originally Posted by benel1
Посмотреть сообщение
try this:
pawn Код:
CMD:jetpack(playerid, params[])
{
    new targetidname[MAX_PLAYER_NAME], targetid, string[148];
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        if(sscanf(params, "u", targetid)) return SendClientMessage(playerid,1,"Utilizare: /jetpack (ID/Name);");
        GetPlayerName(targetid, targetidname, sizeof(targetidname));
        format(string,sizeof(string),"Un administrator i-a dat un Jetpack lui %s", targetidname);
        SendClientMessageToAll(-1, string);
        SetPlayerSpecialAction(targetid, SPECIAL_ACTION_USEJETPACK);
    } else SendClientMessage(playerid, "Trebuie sa fi admin pentru a folosi aceasta comanda.");
    return true;
}
still getting this

pawn Код:
C:\Users\Mihai\Desktop\samp\Romanian Project Roleplay\gamemodes\ZRP.pwn(23769) : error 035: argument type mismatch (argument 2)
Reply


Messages In This Thread
Jetpack Command - by ghzspark - 21.02.2013, 18:52
Re: Jetpack Command - by ZeroCools - 21.02.2013, 19:06
Re: Jetpack Command - by Luis- - 21.02.2013, 19:08
Re: Jetpack Command - by Mark_Samp - 21.02.2013, 19:12
Re: Jetpack Command - by Goldino - 21.02.2013, 19:18
Re: Jetpack Command - by ghzspark - 21.02.2013, 19:19
Re: Jetpack Command - by Goldino - 21.02.2013, 19:21
Re: Jetpack Command - by ghzspark - 21.02.2013, 19:22
Re: Jetpack Command - by benel1 - 21.02.2013, 19:42
Re: Jetpack Command - by ghzspark - 22.02.2013, 06:55

Forum Jump:


Users browsing this thread: 5 Guest(s)