Raised This Month: $ Target: $400
 0% 

I have a problem


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Boomd
Junior Member
Join Date: Jun 2012
Old 02-09-2013 , 06:04   I have a problem
#1

i have a problem will you find it out pls

Code:
#include <a_samp>
#include <zcmd>
#define COLOR_WHITE 0xFFFFFFAA

new CP[MAX_PLAYERS];

CMD:work(playerid, params[])
{
CP[playerid] =1
SetPlayerChekpoint(playerid, 1577.3411,1504.8600,10.5608, 4.0);
SendClientMessage(playerid, COLOR_WHITE, "Закарай наранените пасажери от летище LV до летище SF");
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
if (CP[playerid] ==1)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,COLOR_WHITE, "Ти получи 10000 за закарване на наранените пасажери");
GivePlayerMoney(playerid, +15000);
}
return 1;

CMD:stopwork(playerid, params[])
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_WHITE, "Ти загуби 1000 долара за спиране на работата");
GivePlayerMoney(playerid, -1000);
return 1;
}
}
Errors:
Code:
D:\igri\GTA-SanAndreas\pawno\koko.pwn(10) : error 001: expected token: ";", but found "-identifier-"
D:\igri\GTA-SanAndreas\pawno\koko.pwn(10) : error 017: undefined symbol "SetPlayerChekpoint"
D:\igri\GTA-SanAndreas\pawno\koko.pwn(20) : error 029: invalid expression, assumed zero
D:\igri\GTA-SanAndreas\pawno\koko.pwn(20) : warning 215: expression has no effect
D:\igri\GTA-SanAndreas\pawno\koko.pwn(20) : error 001: expected token: ";", but found ")"
D:\igri\GTA-SanAndreas\pawno\koko.pwn(20) : error 029: invalid expression, assumed zero
D:\igri\GTA-SanAndreas\pawno\koko.pwn(20) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
Boomd is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-09-2013 , 06:07   Re: I have a problem
#2

We do not support GTA:SA
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode