/call hydra
#6

If you want to use spaces ( /call hydra ) I think you MUST use:
pawn Код:
if(strcmp(cmdtext, "/call", true) == 0)
{
    if( !strcmp( cmdtext[ 6 ], "hydra", true, 5 ) )
    {
        if(IsPlayerInRangeOfPoint(playerid, 7, 2728.0461,-2302.7786,16.5892))
        {
            new Float:x, Float:y, Float:z;
            GetPlayerPos(playerid, x, y, z);
            new hydra = AddStaticVehicleEx(520, x, y, z, 0, 1, 1, 240);
            return PutPlayerInVehicle(playerid, hydra, 0);
        }
    }
    else return SendClientMessage( playerid, 0xAAAAAA, "USAGE: /call hydra" );
}
Reply


Messages In This Thread
/call hydra - by =AV=Gibson - 10.04.2011, 22:16
Re: /call hydra - by Tommy_Mandaz - 11.04.2011, 00:27
Re: /call hydra - by =AV=Gibson - 11.04.2011, 06:39
Re: /call hydra - by =AV=Gibson - 11.04.2011, 06:49
Respuesta: /call hydra - by usrb1n - 11.04.2011, 06:58
Re: /call hydra - by Mean - 11.04.2011, 08:39

Forum Jump:


Users browsing this thread: 2 Guest(s)