problem tagmismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: problem tagmismatch (
/showthread.php?tid=650364)
problem tagmismatch -
wallen - 26.02.2018
PHP код:
// Above OnGameModeInit:
new gangzone;
// OnGameModeInit Insert
public OnGameModeInit() {
gangzone= GangZoneCreate(140,1345, -2125,373, 2907,791, -969,2637);
return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
GangZoneShowForPlayer(playerid, gangzone, 0xFF80FFCE);
return 1;
}
PHP код:
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(500) : warning 202: number of arguments does not match definition
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(500) : warning 202: number of arguments does not match definition
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(500) : warning 202: number of arguments does not match definition
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(500) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
Line 500:
PHP код:
gangzone= GangZoneCreate(140,1345, -2125,373, 2907,791, -969,2637);
Re: problem tagmismatch -
ISmokezU - 26.02.2018
https://sampwiki.blast.hk/wiki/GangZoneCreate
4 Parameters
Re: problem tagmismatch -
PepsiCola23 - 26.02.2018
you have "," instead of "."
this is how it should be
PHP код:
gangzone= GangZoneCreate(140.1345, -2125.373, 2907.791, -969.2637);