new VehicleID = GetPlayerVehicleID(playerid);
new Pname[24]; GetPlayerName(playerid, Pname, 24);
átalakitottam de ezt irja: C:\\Documents and Settings\\Dani\\Asztal\\mdgih\\gamemodes\\rsc.pwn(285) : error 017: undefined symbol \"pName\"C:\\Documents and Settings\\Dani\\Asztal\\mdgih\\gamemodes\\rsc.pwn(285) : error 017: undefined symbol \"pName\"C:\\Documents and Settings\\Dani\\Asztal\\mdgih\\gamemodes\\rsc.pwn(285) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\Dani\\Asztal\\mdgih\\gamemodes\\rsc.pwn(285) : fatal error 107: too many error messages on one lineés igy alakitottam át:if (strcmp(cmdtext, \"/army\", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),320.1969,1984.1954,17.6406); // Teleportálás jármuvel. GetPlayerName(playerid, pName, sizeof(pName)); // név format(string, sizeof(string), \"%s teleportált /army ra\", pName); //belépett SendClientMessageToAll(0x33AA33AA, string); } else { // Ellenkezoleg (azaz ha nincs jármuben) SetPlayerPos(playerid, Ide is az ADDPLAYERCLASS ból az X,Y,Z kell ); ////////////////// IDE is a koordináta kell xD GetPlayerName(playerid, pName, sizeof(pName)); // név format(string, sizeof(string), \"%s teleportált /army ra\", pName); //belépett SendClientMessageToAll(0x33AA33AA, string); } return 1;