Respawn
#5

Quote:
Originally Posted by detter
Посмотреть сообщение
change

Код:
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "%s has respawned all unoccupied vehicles", str);
to

Код:
new str[128] ,adminName[MAX_PLAYER_NAME];
GetPlayerName(playerid, adminName, sizeof(adminName));
format(str, sizeof(str), "%s has respawned all unoccupied vehicles", adminName);
Why? He's saving memory by just using one string, so his method is better. This is totally irrelevant to his problem.
Reply


Messages In This Thread
Respawn - by DerickClark - 03.02.2013, 20:04
Re: Respawn - by DerickClark - 03.02.2013, 20:10
Re: Respawn - by LarzI - 03.02.2013, 20:18
Re: Respawn - by detter - 03.02.2013, 20:19
Re: Respawn - by LarzI - 03.02.2013, 20:23
Re: Respawn - by detter - 03.02.2013, 20:28
Re: Respawn - by MarkoN - 03.02.2013, 20:33
Re: Respawn - by LarzI - 03.02.2013, 20:33
Re: Respawn - by T0pAz - 03.02.2013, 20:34
Re: Respawn - by detter - 03.02.2013, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)