07.02.2010, 15:12
I get this errors
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : error 001: expected token: ",", but found "-rational value-"
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : error 001: expected token: ";", but found "-rational value-"
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : fatal error 107: too many error messages on one line
when i changed the coords on this two scripts
if(strcmp(cmd, "/hphq", true) == 0) { // teles the cop back to the StatePolice spawn!
if(gTeam[playerid] == TEAM_SP)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2091.621 2484.9 11.07813,);
}
else
{
SendClientMessage(playerid, COLOR_RED1, "You Are not even a Highway Patrolsman");
}
return 1;
}
and
if(strcmp(cmd, "/highway", true) == 0) {
SendClientMessage(playerid, COLOR_GREY, "You Are Now an offcial Highway Patrol Man!!");
gTeam[playerid] = TEAM_SP;
SetPlayerColor(playerid, COLOR_GREY);
SetPlayerPos(playerid, 2091.621 2484.9 11.07813,);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 3, 1);
SetPlayerSkin(playerid, 280);
return 1;
}
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : error 001: expected token: ",", but found "-rational value-"
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : error 001: expected token: ";", but found "-rational value-"
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Desktop\server\filterscripts\jobs2. pwn(822) : fatal error 107: too many error messages on one line
when i changed the coords on this two scripts
if(strcmp(cmd, "/hphq", true) == 0) { // teles the cop back to the StatePolice spawn!
if(gTeam[playerid] == TEAM_SP)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2091.621 2484.9 11.07813,);
}
else
{
SendClientMessage(playerid, COLOR_RED1, "You Are not even a Highway Patrolsman");
}
return 1;
}
and
if(strcmp(cmd, "/highway", true) == 0) {
SendClientMessage(playerid, COLOR_GREY, "You Are Now an offcial Highway Patrol Man!!");
gTeam[playerid] = TEAM_SP;
SetPlayerColor(playerid, COLOR_GREY);
SetPlayerPos(playerid, 2091.621 2484.9 11.07813,);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 3, 1);
SetPlayerSkin(playerid, 280);
return 1;
}