Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: sherwin688 on April 08, 2014, 08:47:00 am

Title: Need /c slap command
Post by: sherwin688 on April 08, 2014, 08:47:00 am
Need /c slap command
Title: Re: Need /c slap command
Post by: dynavolt71 on April 08, 2014, 10:08:10 am
Stop requesting. Make your own. Why ? You are not scripter if you requesting.
Title: Re: Need /c slap command
Post by: sherwin688 on April 08, 2014, 10:17:40 am
I dont know to make :P

Title: Re: Need /c slap command
Post by: dynavolt71 on April 08, 2014, 02:56:25 pm
I dont know to make :P
thats mean you are not scripter
Title: Re: Need /c slap command
Post by: MatheuS on April 08, 2014, 04:52:17 pm
Code: [Select]
else if ( strcmp( cmd, "slap", true ) == 0 )
{
tmp = strtok( cmdtext, idx ); new plr = FindPlayerIDFromString( tmp );
if ( !strlen( tmp ) ) SendClientMessage( playerid, -1, "Use: /c Slap [Nick/ID]" );
else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, -1, "[Error]: Invalid Player" );
else
{
new Float:x, Float:y, Float:z;
GetPlayerPos( plr, x, y, z );
SetPlayerPos( plr, x, y + 10.0, z, 0, 0 );
}
return 1;
}

Test  ;)
Title: Re: Need /c slap command
Post by: sherwin688 on April 09, 2014, 06:56:27 am
Thnx