30.11.2010, 21:49
I'm making this :
for my zombie RP server, but I got this error:
pawn Код:
if(!strcmp(cmdtext, "/me", true, 3)) //action use /me [action]
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "Use: /me [action]");
new pname[24], str[128];
GetPlayerName(playerid, pname, 24);
format(str, sizeof(str), "%s Does: %s", pname, text);
ProxDetector(10.0, playerid, str, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
return 1;
}
pawn Код:
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\Zombie_Outbreak_Original.pwn(1680) : error 017: undefined symbol "text"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.