- 0
[Problema] Compilare - Code
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Datcu
Salut, am un Gamemode tip B-zone si am urmatoarea problema la compilare :
C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : error 012: invalid function call, not a valid address
C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : warning 215: expression has no effect
C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : error 001: expected token: ";", but found ")"
C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : error 029: invalid expression, assumed zero
C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
------------------------------------
Mai jos aveti linia de cod a erorii:
format(string, sizeof(string), "** %s are nevoie de un Taximetrist, Locatie: %s (SF). (scrie /accept taxi %d pentru a accepta)", GetName(playerid) ,GetPlayerArea(playerid),playerid);
------------------------------------
Si aici este mai mult codding din gamemode:
if(TaxiDrivers == 0) return SendClientMessage(playerid, COLOR_OOC, "Momentan nu sunt taximetristi la datorie.");
if(IsPlayerInArea(playerid, -2997.40, -1115.50, -1213.90, 1659.60)) {
format(string, sizeof(string), "** %s are nevoie de un Taximetrist, Locatie: %s (SF). (scrie /accept taxi %d pentru a accepta)", GetName(playerid) ,GetPlayerArea(playerid),playerid);
SendTeamMessage(13,COLOR_OOC,string);
SendTeamMessage(16,COLOR_OOC,string);
SendTeamMessage(17,COLOR_OOC,string);
}
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now