Little help with gang zones...
#1

Hey guys!
I want to make gang zones, but when i perss f5 heres what i've got:

D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(145) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(145) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(145) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(145) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(146) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(146) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(146) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(146) : warning 202: number of arguments does not match definition
D:\GTA SA\USA vs MEC\gamemodes\rivershell.pwn(162) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


9 Warnings.

Nad here is the code:

USA = GangZoneCreate(-81,74512, 1623,225, 455,4371, 2148,729);
MEC = GangZoneCreate(-140,1345, 2312,219, 513,8265, 2709,267);

What i do wrong ?
Reply
#2

You have inserted "," everywhere. If you want to make two and a half you would add 2.5 not 2,5 so your code must be
PHP код:
USA GangZoneCreate(-81.745121623.225455.43712148.729);
MEC GangZoneCreate(-140.13452312.219513.82652709.267); 
Reply
#3

Use the . (Dot) for Float Values.

pawn Код:
USA = GangZoneCreate(-81.74512, 1623.225, 455.4371, 2148.729);
MEC = GangZoneCreate(-140.1345, 2312.219, 513.8265, 2709.267);
Jeffry

EDIT: [MG]Dimi was a bit faster. ^^
Reply
#4

Oh, thanks guys!
Reply
#5

Your coords'.
Do like this:
pawn Код:
USA = GangZoneCreate(-81.74512, 1623.225, 455.4371, 2148.729);
MEC = GangZoneCreate(-140.1345, 2312.219, 513.8265, 2709.267);
EDIT: Trololo I type slow..
Reply
#6

Nad guys one more question. Can i remove those two guns from game mode name rivershell ?
Reply
#7

Quote:
Originally Posted by Setkus
Посмотреть сообщение
Nad guys one more question. Can i remove those two guns from game mode name rivershell ?
of course you can which guns? and when do you get the guns?
Reply
#8

MP5 and M4. Guns I get after respawn!
Reply
#9

ok search OnPlayerSpawn and then look for GivePlayerWeapon and find the M4 32 and 29 for MP5
Reply
#10

in that pwn file there is no GivePlayerWeapon!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)