das hier ist mein Tele CMD aber der funktioniert nicht bzw welches Include brauche ich damit der aus PName ließt?
if(strcmp(cmdtext, "/farm", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), -1211.6475,-1102.1752,128.2656,1.5891);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
}
else
{
SetPlayerPos(playerid, -1211.6475,-1102.1752,128.2656,1.5891);
SetPlayerFacingAngle(playerid, 0.0);
}
SetPlayerInterior(playerid, 0);
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "TELE: %s has gone to Farm Stunt's (/farm)", pName);
SendClientMessageToAll(COLOR_LIMEGREEN, string);
und hier ist der ERROR bzw Errors
C:\Users\███████\Desktop\server 2\filterscripts\cmds.pwn(63) : error 017: undefined symbol "pName"
C:\Users\███████\Desktop\server 2\filterscripts\cmds.pwn(63) : error 017: undefined symbol "pName"
C:\Users\███████\Desktop\server 2\filterscripts\cmds.pwn(63) : error 029: invalid expression, assumed zero
C:\Users\███████\Desktop\server 2\filterscripts\cmds.pwn(63) : fatal error 107: too many error messages on one line