Unknown command problem
#6

Quote:
Originally Posted by LuckyPlaya`
Посмотреть сообщение
dcmd_placegate(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 6)
{
if( isnull( params) )
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: /placegate [password]" );
return 1;
}
if( !strval( params ) )
{
SendClientMessage(playerid, COLOR_WHITE, "* You need to input numbers." );
return 1;
}
if( IsPlayerInAnyVehicle(playerid ) )
{
SendClientMessage(playerid, COLOR_WHITE, "* You need to exit your vehicle." );
return 1;
}
new FloatPos[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, COLOR_WHITE, "* You succesfully created a movable gate. Use /gate to open or close them." );
return 1;
}
return 1;
}
Use [ PAWN ] [/PAWN ] ( without the spaces ) so we can help you out, please.
Reply


Messages In This Thread
Unknown command problem - by LuckyPlaya` - 26.04.2013, 20:07
Re: Unknown command problem - by nor15 - 26.04.2013, 20:13
Re: Unknown command problem - by LuckyPlaya` - 26.04.2013, 20:14
Re: Unknown command problem - by nor15 - 26.04.2013, 20:15
Re: Unknown command problem - by LuckyPlaya` - 26.04.2013, 20:17
Re: Unknown command problem - by DuarteCambra - 26.04.2013, 22:00

Forum Jump:


Users browsing this thread: 2 Guest(s)