"Error: THAT WEAPON NOT ALLOUD"
1. ^ Not to be an arse but.. Let's be serious...
" Hero_Great the great scripter ? "
2. It's not about what you think about yourself, it's what about others think about of you. I've been like that, but I corrected myself..
3. Hello bro, your command is not even good. Not everyone uses GUPS ( Like you lol ). GUPS is for studying ( this is how I get it )...
You missed one bracket and added another one. FAILBRO. Let me correct this for public, Hero_Great, the one who stole my scripts and used them into PRO GM, you know, the one you gave to OkieDokie. And you boasted with it, and claimed it to be yours. The fuck you did ? Stolen everyone's scripts, mixed up and said it was yours. SHAME ON YOU
[pawn]}
else if ( strcmp( cmd, "!wep", true ) == 0 )
{
new tmp2[ 256 ], tmp3[ 256 ], tmp4[ 256 ], tmp5[ 256 ];
tmp = strtok( cmdtext, idx ), tmp2 = strtok( cmdtext, idx ), tmp3 = strtok( cmdtext, idx ), tmp4 = strtok( cmdtext, idx ), tmp5 = strtok( cmdtext, idx );
// if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !wep wep1 wep2 wep3 wep4 wep5" );
else
{
new wep[6];
if( !strlen( tmp2 ) )
{
wep[1] = FindWepIDFromString( tmp );
SetPlayerWeapon(playerid, wep[1], 9999 );
}
else if( !strlen( tmp3 ) )
{
wep[1] = FindWepIDFromString( tmp );
SetPlayerWeapon(playerid, wep[1], 9999 );
wep[2] = FindWepIDFromString( tmp2 );
SetPlayerWeapon(playerid, wep[2], 9999 );
}
else if( !strlen( tmp4 ) )
{
wep[1] = FindWepIDFromString( tmp );
SetPlayerWeapon(playerid, wep[1], 9999 );
wep[2] = FindWepIDFromString( tmp2 );
SetPlayerWeapon(playerid, wep[2], 9999 );
wep[3] = FindWepIDFromString( tmp3 );
SetPlayerWeapon(playerid, wep[3], 9999 );
}
else if( !strlen( tmp5 ) )
{
wep[1] = FindWepIDFromString( tmp );
SetPlayerWeapon(playerid, wep[1], 9999 );
wep[2] = FindWepIDFromString( tmp2 );
SetPlayerWeapon(playerid, wep[2], 9999 );
wep[3] = FindWepIDFromString( tmp3 );
SetPlayerWeapon(playerid, wep[3], 9999 );
wep[4] = FindWepIDFromString( tmp4 );
SetPlayerWeapon(playerid, wep[4], 9999 );
}
else if( strlen( tmp5 ) )
{
wep[1] = FindWepIDFromString( tmp );
SetPlayerWeapon(playerid, wep[1], 9999 );
wep[2] = FindWepIDFromString( tmp2 );
SetPlayerWeapon(playerid, wep[2], 9999 );
wep[3] = FindWepIDFromString( tmp3 );
SetPlayerWeapon(playerid, wep[3], 9999 );
wep[4] = FindWepIDFromString( tmp4 );
SetPlayerWeapon(playerid, wep[4], 9999 );
wep[5] = FindWepIDFromString( tmp5 );
SetPlayerWeapon(playerid, wep[5], 9999 );
}
if(( wep[1] == 33) || ( wep[2] == 33) || ( wep[3] == 33) || ( wep[4] == 33) || ( wep[5] == 33 ))
{
SetPlayerWeapon(playerid,0,0);
SendClientMessage(playerid,RED,"Error: Miniguns are not allowed for user use.");
}
}
return 1;
}[/pawn]
^ Will help reducing the ammount of memory at every command, so instead of using !wep1 and !wep 2 and so on, you can use this. But what's worth my publishing? You will take it and publish it as your own. So...
NOT TESTED, TEST AT YOUR OWN RISK