Is there something wrong in this line?
#1

Hi guys! Is there something wrong in this line?

PHP код:
SetSpawnInfo(playeridPlayerInfo[playerid][pSkin], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1, -1); 
Says it's a tag mismatch. Can someone correct it for me? Thanks!
Reply
#2

PHP код:
SetSpawnInfo(playeridPlayerInfo[playerid][pSkin], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1, -1); 
SetSpawnInfo(playeridteamskinFloat:xFloat:yFloat:zFloat:rotationweapon1weapon1_ammoweapon2weapon2_ammoweapon3weapon3_ammo
PHP код:
SetSpawnInfo(playerid0PlayerInfo[playerid][pSkin], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1); 
enjoy
Reply
#3

SetSpawnInfo has a team parameter:
PHP код:
SetSpawnInfo(playeridteamskinFloat:xFloat:yFloat:zFloat:Angleweapon1weapon1_ammoweapon2weapon2_ammoweapon3weapon3_ammo
Reply
#4

Attention: 0 is a valid team. If all players are set to this team it means no one can harm one another. Use NO_TEAM (which is defined as 255) instead.
Reply
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
Attention: 0 is a valid team. If all players are set to this team it means no one can harm one another. Use NO_TEAM (which is defined as 255) instead.
That's why I always had to create a server sided health to get it work in my scripts.. ggwp.
Reply
#6

Thanks! It helped. Got one again here
PHP код:
         SendClientMessage(playeridCOLOR_FADE"Vampire Jump (%d/3)"Skills[playerid][Jump]); 
Reply
#7

Fixed. Used format
Reply


Forum Jump:


Users browsing this thread: