30.01.2012, 18:59
(
Last edited by Konstantinos; 30/01/2012 at 08:13 PM.
)
pawn Code:
CMD:vehtrunk( playerid, params[ ] )
{
if( !isnull( params ) )
{
SendClientMessage( playerid, COLOR_GREEN, "SYNTAX: /vehtrunk [info/open/close/putgun/takegun/putcocaine/takecocaine/putheroin]" );
SendClientMessage( playerid, COLOR_GREEN, "[takeheroin/putecstasy/takeecstasy/putcrack/takecrack/putweed/takeweed/putcrystalmeth]" );
SendClientMessage( playerid, COLOR_GREEN, "[takecrystalmeth/putsteroids/takesteroids/putgascan/takegascan/putmaterials/takematerials]" );
return 1;
}
if( strcmp( params, "info", true ) == 0)
{
// Code about Info
}
else if( strcmp( params, "open", true ) == 0)
{
// Code about Open
}
else if( strcmp( params, "close", true ) == 0)
{
// Code about Close
}
else if( strcmp( params, "putgun", true ) == 0)
{
// Code about Putgun
}
// Continue up to the last...
else if( strcmp( params, "takematerials", true ) == 0)
{
// Code about Takematerials
}
else
{
SendClientMessage( playerid, COLOR_GREEN, "SYNTAX: /vehtrunk [info/open/close/putgun/takegun/putcocaine/takecocaine/putheroin]" );
SendClientMessage( playerid, COLOR_GREEN, "[takeheroin/putecstasy/takeecstasy/putcrack/takecrack/putweed/takeweed/putcrystalmeth]" );
SendClientMessage( playerid, COLOR_GREEN, "[takecrystalmeth/putsteroids/takesteroids/putgascan/takegascan/putmaterials/takematerials]" );
return 1;
}
return 1;
}

