[COMPILE ERROR] Prox Detector
#4

Quote:
Originally Posted by Passout
Посмотреть сообщение
Define "gName"

new name[MAX_PLAYER_NAME];
new gName = GetPlayerName(playerid, name, sizeof(name));

show me line 619 there is an "i" that is not needed
What are you doing? You obviously have no idea how GetPlayerName works.
https://sampwiki.blast.hk/wiki/GetPlayerName

If you just use
pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
The array name will already be defined with the name of the player.
Reply


Messages In This Thread
[COMPILE ERROR] Prox Detector - by NewerthRoleplay - 01.05.2012, 19:22
Re: [COMPILE ERROR] Prox Detector - by Passout - 01.05.2012, 19:25
Re: [COMPILE ERROR] Prox Detector - by pyrodave - 01.05.2012, 19:30
Re: [COMPILE ERROR] Prox Detector - by Biesmen - 02.05.2012, 07:13

Forum Jump:


Users browsing this thread: 2 Guest(s)