number of arguments does not match definition
#1

Well secondary problem

Код:
customgm.pwn(91) : warning 202: number of arguments does not match definition
Line 91:
Код:
INI_WriteInt(File,"LastLoc",GetPlayerPos(playerid));
Also

Код:
customgm.pwn(183) : warning 202: number of arguments does not match definition
Line 183:
Код:
SetPlayerPos(playerid, PlayerInfo[playerid][pLastLoc]);
Reply
#2

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

You don't use X, Y and Z coordinates as it should be. And in fact, GetPlayerPos returns 0/1 on failure/success so it makes no sense to save whether a function was successful or not.
Reply
#3

Then how would I save a players last location and when they login they spawn at the saved location?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)