Quote:
Originally Posted by Nuke547
Jesus, just help the poor kid...
pawn Code:
dcmd_slap(playerid, params[]) { new id, string[126], Float: PPos[3]; if(sscanf(params, "u", id)) return SendClientMessage(playerid, -1, "SYNTAX: /slap [id]"); GetPlayerPos(id, PPos[0], PPos[1], PPos[2]); SetPlayerPos(id, PPos[0], PPos[1], PPos[2]+4); format(string, sizeof(string), "You have slapped %s", GetName(id)); SendClientMessage(playerid, -1, string); return 1; }
|
I am getting this error
Code:
F:\Program Files\Rockstar Games\GTA San Andreas\My Server\gamemodes\SFCRRPG.pwn(5744) : error 017: undefined symbol "GetName"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.