Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - faizan12345

Pages: [1]
1
mIRC/pawn Scripting / Pickup respawn
« on: March 26, 2012, 10:59:21 am »
Hello,there is any way for pickup respawn in every 2 seconds and when some one pickup id then it gives message "you pickup the beer"..
I try for this many times but failed...

2
mIRC/pawn Scripting / Very Tense Problem Here?
« on: February 16, 2012, 07:18:07 am »
[pawn]enum pInfo
TimeGoto,
}[/pawn]


[pawn] else if ( strcmp( cmd, "!goto", true ) == 0 )
   {
      tmp = strtok( cmdtext, idx );
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREY, "Usage: !goto [Nick/ID]" );
      else
      {
          new plr = FindPlayerIDFromString( tmp );
          if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown player" );
          else if ( PlayerInfo[ plr ][ NoGoto ] == 1 ) SendClientMessagef( playerid, COLOR_GREEN, "%s has goto Disabled.", strval( gPlayers[ plr ]) );
          else if ( !IsPlayerSpawned( plr ) ) SendClientMessagef( playerid, COLOR_GREEN, "Error: %s does not spawned!", gPlayers[ plr ] );
          else
         {

            format( szMsg, sizeof( szMsg ), "Teleporting:[ %s ] to:[ %s ]", gPlayers[ playerid ], gPlayers[ plr ] );
            SendClientMessageToAll( COLOR_GREEN, szMsg );
            SetTimer("SetGotoTimer",3000,0);
         }
      }
      return 1;
   }[/pawn]

in public i put these...

[pawn]public SetGotoTimer()
{
new plr;
GetPlayerPos( plr, x, y, z );
SetPlayerPos( playerid, x, y + 1.0, z, 0, 0 );
SendClientMessage(plr, GREEN,"Teleporting to player: %s.",gPlayers[plr]);
GameTextForPlayer(plr,"~h~Teleported!");

return 1;
}[/pawn]




And i getiing the error,
[pawn]\BSG.pwn(3959) : error 017: undefined symbol "x"
\BSG.pwn(3960) : error 017: undefined symbol "x"[/pawn]


So,what can i do to remove this....


3
mIRC/pawn Scripting / Spawn problems?
« on: February 14, 2012, 02:17:22 pm »
Iam using random spawn...
i wish that each player spawn at other locations differ from others....
like Tommy spawn around vercetti mansion and around mansion,
and Cop spawn on diferrent City Police Stations....

Can any one help me Please...

4
mIRC/pawn Scripting / Only Little Bit Help i want?
« on: February 09, 2012, 07:38:35 am »
1) My spawn characters doesn't show their skin names.
    I want they show their skin names...


2) And I want to remove team killing (Same skin players cannot able to Kill Each others)?


Please Resolve these Problems,I shall be Thankful to you For this act of Kindness...

5
mIRC/pawn Scripting / Can anyone help on This?
« on: February 08, 2012, 03:30:40 pm »
I want Multi wep commands for My Pawno Script....
can any one know about multi weapons commands...
Please tell me.....

Pages: [1]