SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 23/03/2010, 06:51 PM   #1
Sajtos
Little Clucker
 
Join Date: Apr 2009
Posts: 22
Reputation: 0
Default [HELP]Gangwar problem..

Hi all!

i have a problem.



Code:
  	if (strcmp("/police", cmdtext, true, 10) == 0)
	{
	ResetPlayerWeapons(playerid);
	GivePlayerWeapon(playerid, 26, 1000);
	GivePlayerWeapon(playerid, 28, 1000);
	GivePlayerWeapon(playerid, 30, 1000);
	SetPlayerTeam(playerid, 5);
	SetPlayerPos(playerid, 1579.3662,-1635.3933,17.9324);
	SetPlayerFacingAngle(playerid, 342.3749);
	SetPlayerSkin(playerid, 280);
	SetPlayerHealth(playerid, 100);
  SetPlayerArmour(playerid, 100);
	SetPlayerColor(playerid,0x0000FFAA);
	SendClientMessage(playerid, 0x0000FFAA, "You joined the POLICE-TEAM!");
	SendClientMessage(playerid, 0xFFFFFFAA, "Use /exitgw to exit gangwar!");
	return 1;
	}
this is my gangwar option. this is perfect but if a player is dead does not teleporting back to the original location----> SetPlayerPos(playerid, 1579.3662,-1635.3933,17.9324);

what do i wrong?

ps: sry for my bad english i used google translater.
Sajtos is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP] gangwar errors Sajtos Help Archive 1 20/03/2010 11:36 AM
help in gangwar script marcos060595 Help Archive 2 10/12/2009 09:25 PM
[Help] Gangwar final08 Help Archive 2 15/10/2009 11:48 AM
Can't edit Gangwar.pwn breakpaper Help Archive 3 06/07/2009 03:54 PM
Outrages SA:MP Gangwar CleemN Screenshots and Videos 13 10/12/2008 08:22 PM


All times are GMT. The time now is 08:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.