small help
#1

can plz somehelp to get this in strcmp comand cuz my gm is is using srcmp so fs also should be strcmp but unfortuanatley its in zcmd so plz some help me to convert (will give rep++)

Код:
#
CMD:placegate( playerid, params[] )
#
{
#
        if( isnull( params) )
#
            return SendClientMessage( playerid, -1, "Syntax: /placegate [password]" );
#
           
#
        if( !strval( params ) )
#
            return SendClientMessage( playerid, -1, "You need to input numbers." );
#
           
#
        if( IsPlayerInAnyVehicle( playerid ) )
#
            return SendClientMessage( playerid, -1, "You need to exit your vehicle." );
#
 
#
        new Float:pPos[4];
#
        GetPlayerPos( playerid, pPos[0], pPos[1], pPos[2] );
#
        GetPlayerFacingAngle( playerid, pPos[3] );
#
        CreateGate( playerid, strval( params ), pPos[0], pPos[1], pPos[2], pPos[3] );
#
        SendClientMessage( playerid, -1, "You succesfully created a movable gate. Use /gopen or /gclose." );
#
 
#
        return 1;
#
}
i am getting error undefined symbol params while converting....
Reply


Messages In This Thread
small help - by bugmenotlol - 31.10.2016, 09:17
Re: small help - by Eoussama - 31.10.2016, 09:33
Re: small help - by NealPeteros - 31.10.2016, 09:35
Re: small help - by NealPeteros - 31.10.2016, 09:43
Re: small help - by DTV - 31.10.2016, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)