A problem with a system i made-
#1

I get this error-
(179) : warning 213: tag mismatch

here is the line-
SetPlayerPos(GlassSpawns[rand][0],GlassSpawns[rand][1],GlassSpawns[rand][2],GlassSpawns[rand][3]);
Reply
#2

SetPlayerPos(playerid,...
Reply
#3

i did that it said, i didnt define playerid,
so i used (i,...
and it says-
(180) : warning 202: number of arguments does not match definition
Reply
#4

https://sampwiki.blast.hk/wiki/SetPlayerPos

Change "playerid" with whatever your variable for the respective playerid is in that case and each coordination with your GlassSpawns variables.
Reply
#5

Try:
pawn Код:
SetPlayerPos(i,GlassSpawns[rand][0],GlassSpawns[rand][1],GlassSpawns[rand][2]);
This should work if you use 'i' instead of 'playerid'. And there is must be only 3 coords after it: x, y and z
Reply
#6

Thanks bro!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)