06.04.2012, 16:12
Hello everyone.
Im new at scripting and i wanted to make a fast teleport + msg.
This is how the codes look:
================================================== ==
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/LV") == 0)
{
SetPlayerPos(playerid, 2804.0972,1772.2668,10.8203);
SendClientMessage(playerid, COLOR_RED, "Welcome to Las Venturas)");
}
return 1;
}
========================
I get this error ''undefined symbol "COLOR_RED"
Im new at scripting and i wanted to make a fast teleport + msg.
This is how the codes look:
================================================== ==
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/LV") == 0)
{
SetPlayerPos(playerid, 2804.0972,1772.2668,10.8203);
SendClientMessage(playerid, COLOR_RED, "Welcome to Las Venturas)");
}
return 1;
}
========================
I get this error ''undefined symbol "COLOR_RED"