04.02.2009, 22:10
Hiya guys ive made /jobhelp for my jobs but im getting 2 errors undefined symbol "playerid undefined symbol "cmd" can someone help me on this one coz im stuck ile highlight the lines in red for ya so u can see better
Thanks
[quote]
if(strcmp(cmd, "/jobhelp", true) == 0)
{
if(PlayerInfo[playerid][pJob] != 1
{
if(TutTime[i] >= 1)
{
TutTime[i] += 1;
if(TutTime[i] == 3)
{
SendClientMessage(i, COLOR_GREEN, "Welcome to the harvister job.");
SendClientMessage(i, COLOR_YELLOW, "Head over to the barn and hop into one of there Harvisters .");
SendClientMessage(i, COLOR_YELLOW, "Type /harvest to activate the harvest job .");
}
else if(TutTime[i] == 6)
{
SendClientMessage(i, COLOR_GREEN, "Head threw the Markers to havest the feilds without killing yourselve.");
SendClientMessage(i, COLOR_YELLOW, "Then drop your load at this shed and receve your payment .");
SendClientMessage(i, COLOR_YELLOW, "You will need to wait 30 miniutes before you can harvest again .");
}
return 1;
}
}
}
Thanks
[quote]
if(strcmp(cmd, "/jobhelp", true) == 0)
{
if(PlayerInfo[playerid][pJob] != 1

{
if(TutTime[i] >= 1)
{
TutTime[i] += 1;
if(TutTime[i] == 3)
{
SendClientMessage(i, COLOR_GREEN, "Welcome to the harvister job.");
SendClientMessage(i, COLOR_YELLOW, "Head over to the barn and hop into one of there Harvisters .");
SendClientMessage(i, COLOR_YELLOW, "Type /harvest to activate the harvest job .");
}
else if(TutTime[i] == 6)
{
SendClientMessage(i, COLOR_GREEN, "Head threw the Markers to havest the feilds without killing yourselve.");
SendClientMessage(i, COLOR_YELLOW, "Then drop your load at this shed and receve your payment .");
SendClientMessage(i, COLOR_YELLOW, "You will need to wait 30 miniutes before you can harvest again .");
}
return 1;
}
}
}


