31.10.2016, 09:17
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++)
i am getting error undefined symbol params while converting....
Код:
# 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; # }