Newbie Command Help
#1

Script:
Код:
	if (strcmp(cmd, "/n", true) == 0)
	{
		new msg[128];
		new pName[MAX_PLAYER_NAME];
		GetPlayerName(playerid, pName, sizeof(pName);
		format(msg, sizeof(msg), "NEWBIE: %s - %s", pName, result);
		SendClientMessageToAll(COLOR_LIME, msg);
		return 1;
	}
Errors:
Код:
C:\Users\Lenovo\Documents\dsifjdsfsdf\gamemodes\dgrp.pwn(24824) : error 001: expected token: ",", but found ";"
C:\Users\Lenovo\Documents\dsifjdsfsdf\gamemodes\dgrp.pwn(24825) : error 017: undefined symbol "result"
what's wrong?
Reply


Messages In This Thread
Newbie Command Help - by Stupid - 05.07.2013, 03:04
Re: Newbie Command Help - by EiresJason - 05.07.2013, 03:29
Re: Newbie Command Help - by Stupid - 05.07.2013, 03:41
Re: Newbie Command Help - by ThePhenix - 05.07.2013, 03:48
Re: Newbie Command Help - by EiresJason - 05.07.2013, 03:49

Forum Jump:


Users browsing this thread: 1 Guest(s)