Help Me Please!
#1

Anyone Help Me!

Rep+ If this Problem is Resolved

C:\Documents and Settings\RIZ\Desktop\ZRP\gamemodes\ZRP.pwn(4180) : error 017: undefined symbol "PlayerToyInfo"
C:\Documents and Settings\RIZ\Desktop\ZRP\gamemodes\ZRP.pwn(4180) : warning 215: expression has no effect
C:\Documents and Settings\RIZ\Desktop\ZRP\gamemodes\ZRP.pwn(4180) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\RIZ\Desktop\ZRP\gamemodes\ZRP.pwn(4180) : error 029: invalid expression, assumed zero
C:\Documents and Settings\RIZ\Desktop\ZRP\gamemodes\ZRP.pwn(4180) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

Код:
new PlayerToyInfo[MAX_PLAYERS];
put it on top and next time give MORE informations also get 50+ posts first to give reputation points.
Reply
#3

I Put It On top And Then I Compile Again ...

C:\Documents and Settings\RIZ\Desktop\ZRP\gamemodes\ZRP.pwn(4181) : warning 215: expression has no effect
C:\Documents and Settings\RIZ\Desktop\ZRP Newsuck\gamemodes\ZRP.pwn(4181) : error 001: expected token: ";", but found "["
C:\Documents and Settings\RIZ\Desktop\ZRP Newsuck\gamemodes\ZRP.pwn(4181) : error 029: invalid expression, assumed zero
C:\Documents and Settings\RIZ\Desktop\ZRP Newsuck\gamemodes\ZRP.pwn(4181) : warning 215: expression has no effect
C:\Documents and Settings\RIZ\Desktop\ZRP Newsuck\gamemodes\ZRP.pwn(4181) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\RIZ\Desktop\ZRP Newsuck\gamemodes\ZRP.pwn(4181) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#4

show line 4181....
Reply
#5

line 4181

Код:
    PlayerToyInfo[giveplayerid][slot][ptModelID] = object;
I Used zGaming Roleplay GameMode , Then I Put CMD:GiveObject From My Old GameMode
Reply
#6

Was this code already in your gamemode, of did you copy this code from another gamemode for example NGRP...
Reply
#7

I copy That Code From NGRP Gamemode
Reply
#8

Yes, you should not do that.
First of all, NRGP is not a very simple script for beginners, secondly, you should never copy code from another script to your own script without editing it.
What you can do is open the NGRP and CTRL+F and search for PlayerToyInfo
And copy everything what belongs to it, to your gamemode at the right place, but you need to have medium scripting knowlegde, else it won't work, so it's your choise.
Reply
#9

Okay .. But Is there GiveObject like That in Other Gamemode? Especially zGaming Gamemode
I Really Need It!
Reply
#10

What I like to do is take the idea from another script and see how it works and create it for my script so it fits just RIGHT

Or take the idea and add more stuff to make it fun..etc.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)