Author Topic: Need /c slap command  (Read 3967 times)

0 Members and 3 Guests are viewing this topic.

Offline sherwin688

  • Street Thug
  • *
  • Posts: 43
  • dead man wakin
    • View Profile
Need /c slap command
« on: April 08, 2014, 08:47:00 am »
Need /c slap command

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: Need /c slap command
« Reply #1 on: April 08, 2014, 10:08:10 am »
Stop requesting. Make your own. Why ? You are not scripter if you requesting.
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline sherwin688

  • Street Thug
  • *
  • Posts: 43
  • dead man wakin
    • View Profile
Re: Need /c slap command
« Reply #2 on: April 08, 2014, 10:17:40 am »
I dont know to make :P


Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: Need /c slap command
« Reply #3 on: April 08, 2014, 02:56:25 pm »
I dont know to make :P
thats mean you are not scripter
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: Need /c slap command
« Reply #4 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  ;)

Offline sherwin688

  • Street Thug
  • *
  • Posts: 43
  • dead man wakin
    • View Profile
Re: Need /c slap command
« Reply #5 on: April 09, 2014, 06:56:27 am »
Thnx