Pleas Help Having Trouble With addplayerspawn
#1

these are error on complie

Quote:

C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(52) : warning 215: expression has no effect
C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(53) : warning 215: expression has no effect
C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(54) : warning 215: expression has no effect
C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(55) : warning 215: expression has no effect
C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(56) : warning 215: expression has no effect
C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(57) : warning 215: expression has no effect
C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(5 : warning 215: expression has no effect
C:\Users\Family\Desktop\Freeroam\gamemodes\freeroa m.pwn(189) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


8 Warnings.

this is the codes.

Код:
	AddPlayerClass(98, -143.5529,1221.1190,19.8992, 21, 100, 7, 100, 24, 100, 8, 100, 37, 100, 39); // Human
    AddPlayerClass(294, -143.5529,1221.1190,19.8992,269.1425, 21,100, 7, 100, 24, 100, 8, 100, 37, 100, 39); //Human1
    AddPlayerClass(113, -143.5529,1221.1190,19.8992,269.1425, 21, 100, 7, 100, 24, 100, 8, 100, 37, 100, 39); //Human2
    AddPlayerClass(78, -143.5529,1221.1190,19.8992,269.1425, 21, 100, 7, 100, 24, 100,  8,  100,  37,  100, 39); //Human 3
    AddPlayerClass(48, -143.5529,1221.1190,19.8992,15.3746,269.1425, 21, 100, 7, 100, 24, 100, 8, 100, 37, 100, 39); //Human 4
    AddPlayerClass(10, -143.5529,1221.1190,19.8992,15.3746,269.1425, 21, 100, 7, 100, 24, 100, 8, 100, 37, 100, 39); //Human 5
    AddPlayerClass(30, -143.5529,1221.1190,19.8992,269.1425, 21, 100, 7, 100, 24, 100, 8, 100, 37, 100, 39); //Human 6
Код:
			if (strcmp("/spawn", cmdtext, true,5) ==0)
   	{
				SetPlayerPos(playerid,-143.5529,1221.1190,19.8992,269.1425); this is line 189
				return 1;
	}
Reply
#2

Change This : SetPlayerPos(playerid,-143.5529,1221.1190,19.8992,269.1425); this is line 189
To: SetPlayerPos(playerid,-143.5529,1221.1190,19.8992);

And See this ..For AddPlayerClass

https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)