- 0
Problema creare Pickup
-
Similar Content
-
- 4 answers
- 535 views
-
Problema turf
By Soryn.,
- 2 answers
- 219 views
-
- 1 reply
- 172 views
-
Problema
By ImJustSlim,
- 3 answers
- 282 views
-
- 2 replies
- 153 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
John
C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(108) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(116) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(160) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(165) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(279) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(282) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(365) : warning 203: symbol is never used: "MyPickup"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Imi da eroare dupa ce am facut
new cash;
public OnGameModeInit()
{
cash = CreatePickup(1274, 2, 0.0, 0.0, 9.0);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == cash) GivePlayerMoney(playerid,10000);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
new string[32];
// Award $10,000 to the killer
GivePlayerMoney(killerid, 10000);
format(string, sizeof(string), "You now have %d.", GetPlayerMoney(killerid));
SendClientMessage(killerid, 0xFFFFFFFF, string);
}
Ajutati-ma !
SAMP - Counter Strike 1.6
Link to comment
Share on other sites
2 answers to this question
Recommended Posts